package test2;

public class TooBigException extends Exception{
    private int x;
    public TooBigException(int x){
        super();
        this.x=x;
    }
    public TooBigException(String message){
        super(message);
    }

    @Override
    public String toString() {
        return "TooBigException{" +
                "x=" + x +
                '}';
    }
}
